package cn.cangfei.massage;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Lemon  2313812755@qq.com
 * @date 2023/1/18
 */

@MapperScan("cn.cangfei.massage.mapper")
@ComponentScan(basePackages = {"cn.cangfei"})  // 就可以知道了我们common里面的swagger
@SpringBootApplication
public class MassageApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(MassageApplication.class, args);
    }

}
